import Vue from 'vue';
import App from './App';
import router from './router';
import VueToast from 'vue-toast-m'
import axios from 'axios';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-default/index.css';    // 默认主题
// import '../static/css/theme-green/index.css';       // 浅绿色主题
import "babel-polyfill";
import Popup from './utils/Popup'
import ajax from './utils/ajax'


Vue.use(ElementUI);
Vue.use(Popup);
Vue.use(ajax);
Vue.use(VueToast);
Vue.prototype.$axios = axios;
new Vue({
    router,
    render: h => h(App)
}).$mount('#app');